package com.service;

import com.pojo.PageBean;
import com.pojo.ProductType;

import java.util.List;

public interface ProductTypeService {

    ProductType findByID(String id);

    PageBean<ProductType> findAll(int limit, int current);

    boolean deletePT(String id);

    boolean updatePT(ProductType productType);

    boolean addPT(ProductType productType);

    List<ProductType> findAll();
}
